<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>SSM框架整合</title>
</head>
<body>
<h1>SSM框架整合</h1>
<hr>
<h3>测试查询所有账户</h3>
<a href="account/findAll">测试查询所有账户</a>
<hr>

<h3>测试保存账户</h3>
<form action="account/saveAccount" method="post">
    姓名：<input type="text" name="name"/><br>
    金额：<input type="text" name="money"/><br>
    <input type="submit" value="保存">
</form>
<hr>

<h3>测试转账</h3>
<form action="account/transfer" method="post">
    传出账户id：<input type="text" name="srcId" value="1"/><br>
    转入账户id：<input type="text" name="tarId" value="2"/><br>
    金额：<input type="text" name="money" value="100"/><br>
    <input type="submit" value="转账">
</form>
<hr>
</body>
</html>
